/*
 * $Id: AOVaadinHelperApplication.java 15 2013-05-16 05:43:09Z antonyhands@gmail.com $
 */
package ru.olympus.antonyhands.ao;

import com.vaadin.Application;
import com.vaadin.ui.*;

/**
 * @author AntonyHands
 * @since 30.08.2012
 */
public class AOVaadinHelperApplication extends Application
{
    private static final long serialVersionUID = -3965273581559643516L;

    public static String fullPath;

    @Override
    public void init()
    {
    	fullPath = getContext().getBaseDirectory().getAbsolutePath();

        Window mainWindow = new Window("AOVaadinHelper Application");
        mainWindow.addComponent(UIHelper.createMainMenu());
//        Label label = new Label("Hello Vaadin user");
        mainWindow.addComponent(UIHelper.createMainPanel());

        setMainWindow(mainWindow);
    }

}
